import Vue from 'vue'
import Router from 'vue-router'


const Home = () => import('pages/home/home.vue');   //首页

const AiMarketingSystem = () => import('pages/ai_marketing_system/ai_marketing_system.vue');  //AI智慧营销系统
const BigDataMarketingSystem = () => import('pages/bigData_marketing_system/bigData_marketing_system.vue');    //大数据营销系统
const PrecisionMarketing = () => import('pages/precision_marketing/precision_marketing.vue');   //精准营销
const PassengerFlowAnalysis = () => import('pages/passenger_flow_analysis/passenger_flow_analysis.vue');   //客流分析
const UserPortrait = () => import('pages/user_portrait/user_portrait.vue');   //用户画像

const WisdomStores = () => import('pages/wisdom_stores/wisdom_stores.vue');   //智慧门店
const VrSharedHall = () => import('pages/vr_shared_hall/vr_shared_hall.vue'); //VR共享展厅
const UnmannedExperienceShop = () => import('pages/unmanned_experience_shop/unmanned_experience_shop.vue');  //无人店

const ExgWisdomStores = () => import('pages/exg_wisdom_stores/exg_wisdom_stores.vue');   //e修鸽智慧门店
const BmcVrHall = () => import('pages/bmc_vr_hall/bmc_vr_hall.vue'); //斑马仓VR展示厅

const ChannelCooperation = () => import('pages/channel_cooperation/channel_cooperation.vue');   //渠道合作
const Agent = () => import('pages/agent/agent.vue');    //代理商
const AgentSuccess = () => import('pages/agent_success/agent_success.vue');    //代理商成功页

const About = () => import('pages/about/about.vue'); //关于我们
const NewsTrends = () => import('pages/news_trends/news_trends.vue'); //新闻动态
const NewsDetail = () => import('pages/news_detail/news_detail.vue'); //新闻详情

Vue.use(Router);

export default new Router({
  	routes: [
    	{
    		path: '/',
    		redirect: '/home'
    	},
    	{
    		path: '/home',
    		name: 'home',
    		component: Home
    	},
    	{
    		path: '/aiMarketingSystem',
    		name: 'aiMarketingSystem',
    		component: AiMarketingSystem
    	},
        {
            path: '/bigDataMarketingSystem',
            name: 'bigDataMarketingSystem',
            component: BigDataMarketingSystem
        },
        {
            path: '/precisionMarketing',
            name: 'precisionMarketing',
            component: PrecisionMarketing
        },
        {
            path: '/passengerFlowAnalysis',
            name: 'passengerFlowAnalysis',
            component:  PassengerFlowAnalysis
        },
        {
            path: '/userPortrait',
            name: 'userPortrait',
            component: UserPortrait
        },
        {
            path: '/wisdomStores',
            name: 'wisdomStores',
            component: WisdomStores
        },
        {
            path: '/vrSharedHall',
            name: 'vrSharedHall',
            component:  VrSharedHall
        },
        {
            path: '/unmannedExperienceShop',
            name: 'unmannedExperienceShop',
            component: UnmannedExperienceShop
        },
        {
            path: '/exgWisdomStores',
            name: 'exgWisdomStores',
            component: ExgWisdomStores
        },
        {
            path: '/bmcVrHall',
            name: 'bmcVrHall',
            component: BmcVrHall
        },
        {
            path: '/channelCooperation',
            name: 'channelCooperation',
            component: ChannelCooperation
        },
        {
            path: '/agent',
            name: 'agent',
            component: Agent
        },
        {
            path: '/agentSuccess',
            name: 'agentSuccess',
            component: AgentSuccess
        },
        {
            path: '/about',
            name: 'about',
            component: About
        },
        {
            path: '/newsTrends',
            name: 'newsTrends',
            component: NewsTrends
        },
        {
            path: '/newsDetail',
            name: 'newsDetail',
            component: NewsDetail
        },
  	]
})
